package p.ithorns.integration.dynamic;


import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * ModuleAImpl
 * TODO
 *
 * @author ithorns
 * @version 1.0
 * @date 2021/10/26 13:00
 */
@Slf4j
@Component
public class ModuleAImpl extends AbstractHandler {

    @Override
    public String name() {
        return "ModuleA";
    }

    @Override
    public String version() {
        return "1.0";
    }

    @Override
    public void doSomething(Object args) {
        log.info("{} ========> doSomething({}).", name(), args);
    }
}
